package com.example.demo.pojo;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Table(name = "workuser")
@Entity
public class WorkUser {

  @Id
  private String id;
  private String name;
  private String email;
  private String imgUrl;
  private String type;
  private String password;
  private String emailNum;
  private String tel;
  private String sex;
  @Column(name = "pet_name")
  private String petName;

  public String getTel() {
    return tel;
  }

  public void setTel(String tel) {
    this.tel = tel;
  }

  public String getSex() {
    return sex;
  }

  public void setSex(String sex) {
    this.sex = sex;
  }

  public String getPetName() {
    return petName;
  }

  public void setPetName(String petName) {
    this.petName = petName;
  }

  public String getId() {
    return id;
  }

  public void setId(String id) {
    this.id = id;
  }


  public String getName() {
    return name;
  }

  public void setName(String name) {
    this.name = name;
  }


  public String getEmail() {
    return email;
  }

  public void setEmail(String email) {
    this.email = email;
  }


  public String getImgUrl() {
    return imgUrl;
  }

  public void setImgUrl(String imgUrl) {
    this.imgUrl = imgUrl;
  }


  public String getType() {
    return type;
  }

  public void setType(String type) {
    this.type = type;
  }


  public String getPassword() {
    return password;
  }

  public void setPassword(String password) {
    this.password = password;
  }


  public String getEmailNum() {
    return emailNum;
  }

  public WorkUser() {
  }

  public WorkUser(String id, String name, String email, String imgUrl, String type, String password, String emailNum, String tel, String sex, String petName) {
    this.id = id;
    this.name = name;
    this.email = email;
    this.imgUrl = imgUrl;
    this.type = type;
    this.password = password;
    this.emailNum = emailNum;
    this.tel = tel;
    this.sex = sex;
    this.petName = petName;
  }

  public void setEmailNum(String emailNum) {
    this.emailNum = emailNum;
  }

  @Override
  public Object clone() throws CloneNotSupportedException {
    return super.clone();
  }
}
